package com.mengniu.commerce.common.template.enums;

public enum APIUrlEnum {
    /**
     * 会员修改
     */
    MEMBER_MODIFY("memberModify","/member-center/mengniu-crm-openapi/member/modify"),


    /**
     * 会员注册
     */
    MEMBER_REGISTER("memberRegister","/member-center/mengniu-crm-openapi/route/member/register"),

    /**
     * 存量会员接入
     */
    MEMBER_INSERT("memberInsert","/member-center/mengniu-crm-openapi/route/data-reception/member/insert"),

    /**
     * 减少会员积分
     */
    POINTS_REDUCE("pointsReduce","/member-center/mengniu-crm-openapi/route/points/use"),

    /**
     * 增加会员积分
     */
    POINTS_INCREASE("pointsIncrease","/member-center/mengniu-crm-openapi/route/points/increase"),

    /**
     * 创建商品
     */
    CREATE_ITEM("createItem","/goods-center/item/dubbo/openapi/item/createItem"),

    /**
     * 修改商品
     */
    MODIFY_ITEM("modifyItem","/goods-center/item/dubbo/openapi/item/modifyItem"),

    /**
     * F-C消费者电商平台订单创建API-原子
     */
    CREATE_ORDER("createOrder","/order-center/order/atom/create"),

    /**
     * F-C消费者销售订单修改API-原子
     */
    MODIFY_ORDER("modifyOrder","/order-center/order/atom/update"),

    /**
     * 商品分页查询API
     */
    ITEM_SEARCH("itemSearch","/goods-center/item/dubbo/openapi/item/search"),


    /**
     * F-C消费者售后订单创建API-原子
     */
    REFUND_ORDER_CREATE("refundOrderCreate","/order-center/refundOrder/atom/insert"),


    /**
     * F-C消费者售后订单修改API-原子
     */
    REFUND_ORDER_UPDATE("refundOrderUpdate","/order-center/refundOrder/atom/update"),

    ;


    APIUrlEnum(String method, String path) {
        this.method = method;
        this.path = path;
    }

    private String method;
    private String path;

    public String getMethod() {
        return method;
    }

    public String getPath() {
        return path;
    }
}
